package com.qmctl.rest.bean.orderprocess.query;
import java.util.List;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElementWrapper;
import javax.xml.bind.annotation.XmlRootElement;
@XmlRootElement(name="orderProcess")
public class OrderProcessClazz{
  public OrderProcessClazz(){
  }
private String orderCode;
private String orderId;
private String orderType;
private String warehouseCode;
@XmlElementWrapper(name="processes")  
@XmlElement(name="process")
private List<ProcessClazz> processLst;
private ExtendPropsClazz extendProps;
  public String getOrderCode(){
    return orderCode;
  }
  public void setOrderCode(String sOrderCode){
    orderCode = sOrderCode;
  }
  public String getOrderId(){
    return orderId;
  }
  public void setOrderId(String sOrderId){
    orderId = sOrderId;
  }
  public String getOrderType(){
    return orderType;
  }
  public void setOrderType(String sOrderType){
    orderType = sOrderType;
  }
  public String getWarehouseCode(){
    return warehouseCode;
  }
  public void setWarehouseCode(String sWarehouseCode){
    warehouseCode = sWarehouseCode;
  }

  public void setProcesses(List<ProcessClazz> clazzProcesses){
    processLst = clazzProcesses;
  }
  public ExtendPropsClazz getExtendProps(){
    return extendProps;
  }
  public void setExtendProps(ExtendPropsClazz clazzExtendProps){
    extendProps = clazzExtendProps;
  }
    
  public OrderProcessClazz(com.qmctl.rest.entity.Orderprocess beanClazz){
    orderCode = beanClazz.getOrderCode();
    //orderId = beanClazz.getOrderId();
    orderType = beanClazz.getOrderType();
    warehouseCode = beanClazz.getWarehouseCode();
    //processes = beanClazz.getProcesses();
    //extendProps = beanClazz.getExtendProps();
  }
}
